Optimal. Leaf size=171 \[ \frac{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e) (B d-A e) (d+e x)^{m+1}}{e^3 (m+1) (a+b x)}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} (d+e x)^{m+2} (-a B e-A b e+2 b B d)}{e^3 (m+2) (a+b x)}+\frac{b B \sqrt{a^2+2 a b x+b^2 x^2} (d+e x)^{m+3}}{e^3 (m+3) (a+b x)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.276268, antiderivative size = 171, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.061 \[ \frac{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e) (B d-A e) (d+e x)^{m+1}}{e^3 (m+1) (a+b x)}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} (d+e x)^{m+2} (-a B e-A b e+2 b B d)}{e^3 (m+2) (a+b x)}+\frac{b B \sqrt{a^2+2 a b x+b^2 x^2} (d+e x)^{m+3}}{e^3 (m+3) (a+b x)} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)*(d + e*x)^m*Sqrt[a^2 + 2*a*b*x + b^2*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 38.8398, size = 187, normalized size = 1.09 \[ \frac{B \left (2 a + 2 b x\right ) \left (d + e x\right )^{m + 1} \sqrt{a^{2} + 2 a b x + b^{2} x^{2}}}{2 b e \left (m + 3\right )} - \frac{\left (d + e x\right )^{m + 1} \left (- A b e \left (m + 3\right ) + B \left (a e \left (m + 1\right ) + 2 b d\right )\right ) \sqrt{a^{2} + 2 a b x + b^{2} x^{2}}}{b e^{2} \left (m + 2\right ) \left (m + 3\right )} - \frac{\left (d + e x\right )^{m + 1} \left (a e - b d\right ) \left (- A b e \left (m + 3\right ) + B \left (a e \left (m + 1\right ) + 2 b d\right )\right ) \sqrt{a^{2} + 2 a b x + b^{2} x^{2}}}{b e^{3} \left (a + b x\right ) \left (m + 1\right ) \left (m + 2\right ) \left (m + 3\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(e*x+d)**m*(b**2*x**2+2*a*b*x+a**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.193417, size = 121, normalized size = 0.71 \[ \frac{\sqrt{(a+b x)^2} (d+e x)^{m+1} \left (a e (m+3) (A e (m+2)-B d+B e (m+1) x)+b \left (A e (m+3) (e (m+1) x-d)+B \left (2 d^2-2 d e (m+1) x+e^2 \left (m^2+3 m+2\right ) x^2\right )\right )\right )}{e^3 (m+1) (m+2) (m+3) (a+b x)} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)*(d + e*x)^m*Sqrt[a^2 + 2*a*b*x + b^2*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.01, size = 205, normalized size = 1.2 \[{\frac{ \left ( ex+d \right ) ^{1+m} \left ( Bb{e}^{2}{m}^{2}{x}^{2}+Ab{e}^{2}{m}^{2}x+Ba{e}^{2}{m}^{2}x+3\,Bb{e}^{2}m{x}^{2}+Aa{e}^{2}{m}^{2}+4\,Ab{e}^{2}mx+4\,Ba{e}^{2}mx-2\,Bbdemx+2\,B{x}^{2}b{e}^{2}+5\,Aa{e}^{2}m-Abdem+3\,Ab{e}^{2}x-aBdem+3\,aB{e}^{2}x-2\,Bbdex+6\,A{e}^{2}a-3\,Abde-3\,aBde+2\,Bb{d}^{2} \right ) }{ \left ( bx+a \right ){e}^{3} \left ({m}^{3}+6\,{m}^{2}+11\,m+6 \right ) }\sqrt{ \left ( bx+a \right ) ^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(e*x+d)^m*(b^2*x^2+2*a*b*x+a^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.731297, size = 239, normalized size = 1.4 \[ \frac{{\left (b e^{2}{\left (m + 1\right )} x^{2} + a d e{\left (m + 2\right )} - b d^{2} +{\left (a e^{2}{\left (m + 2\right )} + b d e m\right )} x\right )}{\left (e x + d\right )}^{m} A}{{\left (m^{2} + 3 \, m + 2\right )} e^{2}} + \frac{{\left ({\left (m^{2} + 3 \, m + 2\right )} b e^{3} x^{3} - a d^{2} e{\left (m + 3\right )} + 2 \, b d^{3} +{\left ({\left (m^{2} + m\right )} b d e^{2} +{\left (m^{2} + 4 \, m + 3\right )} a e^{3}\right )} x^{2} +{\left ({\left (m^{2} + 3 \, m\right )} a d e^{2} - 2 \, b d^{2} e m\right )} x\right )}{\left (e x + d\right )}^{m} B}{{\left (m^{3} + 6 \, m^{2} + 11 \, m + 6\right )} e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b^2*x^2 + 2*a*b*x + a^2)*(B*x + A)*(e*x + d)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.32029, size = 346, normalized size = 2.02 \[ \frac{{\left (A a d e^{2} m^{2} + 2 \, B b d^{3} + 6 \, A a d e^{2} - 3 \,{\left (B a + A b\right )} d^{2} e +{\left (B b e^{3} m^{2} + 3 \, B b e^{3} m + 2 \, B b e^{3}\right )} x^{3} +{\left (3 \,{\left (B a + A b\right )} e^{3} +{\left (B b d e^{2} +{\left (B a + A b\right )} e^{3}\right )} m^{2} +{\left (B b d e^{2} + 4 \,{\left (B a + A b\right )} e^{3}\right )} m\right )} x^{2} +{\left (5 \, A a d e^{2} -{\left (B a + A b\right )} d^{2} e\right )} m +{\left (6 \, A a e^{3} +{\left (A a e^{3} +{\left (B a + A b\right )} d e^{2}\right )} m^{2} -{\left (2 \, B b d^{2} e - 5 \, A a e^{3} - 3 \,{\left (B a + A b\right )} d e^{2}\right )} m\right )} x\right )}{\left (e x + d\right )}^{m}}{e^{3} m^{3} + 6 \, e^{3} m^{2} + 11 \, e^{3} m + 6 \, e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b^2*x^2 + 2*a*b*x + a^2)*(B*x + A)*(e*x + d)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \left (A + B x\right ) \left (d + e x\right )^{m} \sqrt{\left (a + b x\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(e*x+d)**m*(b**2*x**2+2*a*b*x+a**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.302498, size = 963, normalized size = 5.63 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b^2*x^2 + 2*a*b*x + a^2)*(B*x + A)*(e*x + d)^m,x, algorithm="giac")
[Out]